package com.workManager.mapper;

import com.workManager.pojo.TbDirectEstimate;
import com.workManager.pojo.TbDirectEstimateExample;
import java.util.List;
import java.util.Map;

import com.workManager.vo.DierctEstimateVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface TbDirectEstimateMapper {
    int countByExample(TbDirectEstimateExample example);

    int deleteByExample(TbDirectEstimateExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbDirectEstimate record);

    int insertSelective(TbDirectEstimate record);

    List<TbDirectEstimate> selectByExample(TbDirectEstimateExample example);

    TbDirectEstimate selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbDirectEstimate record, @Param("example") TbDirectEstimateExample example);

    int updateByExample(@Param("record") TbDirectEstimate record, @Param("example") TbDirectEstimateExample example);

    int updateByPrimaryKeySelective(TbDirectEstimate record);

    int updateByPrimaryKey(TbDirectEstimate record);

    List<DierctEstimateVo> query(Map map);

    int add(TbDirectEstimate record);

    int invalid(Map map);
}